<%@ page language="java" contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="java.util.*"%>
<%@ page import="com.hz.util.*" %>
<%@ page import="com.hz.control.HobbyControl" %>
<%
	int projectid = Integer.parseInt(request.getParameter("projectid"));
	boolean isSuccess = HobbyControl.deleteHobby(projectid);
	String returnJson = "{\"status\":\"" + (isSuccess ? 1 : 0) + "\"}";
%>
<%=returnJson%>